package com.jueling.culture.mapper;

import com.jueling.culture.core.Mapper;
import com.jueling.culture.dto.req.QueryVO;
import com.jueling.culture.model.ContributionAward;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author linp
 * @date 2022/04/11
 */
public interface ContributionAwardMapper extends Mapper<ContributionAward> {

    /**
     * 贡献奖领取
     * @param gxjId
     * @param type
     */
    void updateContributionAward(@Param("gxjId") String gxjId, @Param("type") String type);

    /**
     * 调用存储
     */
    void dealWithContributionAward();

    /**
     * 查询贡献奖列表
     * @param queryVO
     * @return
     */
    List<ContributionAward> getContributionAwardList(QueryVO queryVO);
}